<?php 
class RoleModel extends Model{
	//自动验证设置
	protected $_validate = array(
        array("name", "require", "昵称不允许为空"),
    );
    //自动填充设置
    protected $_auto = array(
        array('create_time','time',1,'function'), //注册时间 
    );
}
?>